forum

home / developersection / forums / how to insert data in identity column?

How to insert data in Identity Column?

Anonymous User 4635 12-Nov-2010

Hi,
I want to insert record in database and I am able to insert using insert query, but the problem is that I am unable to insert data in Identity column.

Here is the Query which I am writing

INSERT into tblLogin ([ID], [FirstName], [LastName], [Password) VALUES (15, N'abc', N'xyz', N'pass') 

 

Please tell me what is wrong in the query?

Thanks in advance.


Updated on 10-Feb-2013

I am a content writter !


Message
Can you answer this question?

Answer

2 Answers

Liked By